﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla;
namespace EntGuayasSLA.BL.Listas.Criterias
{
    [Serializable]
    public class CategoriaExpedienteCriteria : BusinessBase<CategoriaExpedienteCriteria>
    {
        #region Business Methods
        public static readonly PropertyInfo<string> ExpedienteIdProperty = RegisterProperty<string>(c => c.ExpedienteId);
        public string ExpedienteId
        {
            get { return GetProperty(ExpedienteIdProperty); }
            set { SetProperty(ExpedienteIdProperty, value); }
        }
      
        public static readonly PropertyInfo<string> CategoriaIdProperty = RegisterProperty<string>(c => c.CategoriaId);
        public string CategoriaId
        {
            get { return GetProperty(CategoriaIdProperty); }
            set { SetProperty(CategoriaIdProperty, value); }
        }
       #endregion

        #region Factory Methods

        public static CategoriaExpedienteCriteria NewCategoriaExpedienteCriteria()
        {
            return DataPortal.Create<CategoriaExpedienteCriteria>();
        }

        private CategoriaExpedienteCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }

    
   
}
